package com.zzjson.design.singleton;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2018 rollBall team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : cn.zzjson.design.singleton</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2018年12月03日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
public class Singleton3 {
    public Singleton3 getInstance() {
        return Singleton.INSTANCE.getInstance();
    }

    private enum Singleton {
        INSTANCE,
        ;
        private Singleton3 singleton3;

        Singleton() {
            singleton3 = new Singleton3();
        }

        public Singleton3 getInstance() {
            return singleton3;
        }

    }
}